package cc.iotkit.plugins.soulcall.intercepter;

/**
 * OutboundInterceptor
 *
 * @author cc
 */
//@Component
//@Slf4j
public class HealthOutboundInterceptor
//        implements ProxyInterceptor
{
//    @Override
//    public Future<Void> handleProxyResponse(ProxyContext context)
//    {
//        ProxyResponse proxyResponse = context.response();
//        //handle response
//        fitter(proxyResponse);
//        // Continue the interception chain
//        return context.sendResponse();
//    }
//
//    private void fitter(ProxyResponse proxyResponse)
//    {
//        log.info(proxyResponse.request().getURI().toString());
//        log.info("****************************"+proxyResponse.headers().toString());
////        log.info("****************************"+proxyResponse.getBody().toString());
//        //do something with proxyResponse
////        proxyResponse.headers().add("Content-Type","text/html;charset=utf-8");
//    }

}
